// 更改状态，同步
const mutations = {
  reduceData(state) {
    state.data1 -= 1
    state.data1 = Number(state.data1)
  },
  addData(state) {
    state.data1 += 1
    state.data1 = Number(state.data1)
  },
}

export default mutations
